/**
 * (C) 2007 - Boston University
 * 	Contact: Michael Ocean 

  This work is a part of the larger snBench project.  Information
  can be found at: http://csr.bu.edu/snbench

  This program is free software; you can redistribute it and/or
  modify it under the terms of Version 2 of the GNU General Public 
  License.
  
  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  General Public License for more details.
  
  You should have received a copy of the GNU Library General Public
  License along with this library; if not, write to the Free
  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
package snobject;

import java.io.IOException;
import java.io.OutputStream;
import java.util.Enumeration;
import sxe.sensors.KismetMessage;

public class snKismetMessage extends snObject {

	private snKismetMessage(String sMsg, String src) {
		super();
		
		content = new KismetMessage(sMsg,src);
	}	

	private KismetMessage cast(){
		return (KismetMessage)content;
	}
	
	public Enumeration<String> getKeys(){
		return cast().getKeys();
	}
		
	public String getValue(String field){
		return cast().getValue(field);
	}
		
	public void setSeqNo(long n){
		cast().setSeqNo(n);
	}

	public long getSeqNo(){
		return cast().getSeqNo();
	}
		
	public String getString(){
		return cast().getString(); 
	}
		
	
	@Override
	public void binaryWrite(OutputStream out) throws IOException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public String getBinaryMimeType() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getWebMimeType() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getXmlMimeType() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void webWrite(OutputStream out, int depth) throws IOException {
		// TODO Auto-generated method stub

	}

	@Override
	public void xmlWrite(OutputStream out, int depth) throws IOException {
		// TODO Auto-generated method stub

	}

}
